import RouteView from "@/components/RouteView.vue";
const otherRouters = [
  {
    path: "other",
    name: "Other",
    meta: { title: "其他", icon: "MoreFilled" },
    component: RouteView,
    children: [
      {
        path: "share",
        name: "Share",
        meta: { title: "分享" },
        component: () => import("@/views/other/Share.vue"),
      },
      {
        path: "print",
        name: "Print",
        meta: { title: "打印" },
        component: () => import("@/views/other/Print.vue"),
      },
      {
        path: "gantt",
        name: "Gantt",
        meta: { title: "甘特图" },
        component: () => import("@/views/other/Gantt.vue"),
      },
      {
        path: "sliderVerify",
        name: "SliderVerify",
        meta: { title: "滑块验证码" },
        component: () => import("@/views/other/SliderVerify.vue"),
      },
      {
        path: "pdf",
        name: "Pdf",
        meta: { title: "pdf预览" },
        component: () => import("@/views/other/Pdf.vue"),
      },
      {
        path: "scrollText",
        name: "ScrollText",
        meta: { title: "文字滚动通告" },
        component: () => import("@/views/other/ScrollText.vue"),
      },
      {
        path: "scrollNumber",
        name: "ScrollNumber",
        meta: { title: "数字滚动" },
        component: () => import("@/views/other/ScrollNumber.vue"),
      },
      {
        path: "award",
        name: "Award",
        meta: { title: "抽奖" },
        component: () => import("@/views/other/Award.vue"),
      },
      {
        path: "player",
        name: "Player",
        meta: { title: "视频播放" },
        component: () => import("@/views/other/XGPlayer.vue"),
      },
      {
        path: "charts",
        name: "Charts",
        meta: { title: "数据图表" },
        component: () => import("@/views/data/Charts.vue"),
      },
      {
        path: "editor",
        name: "Editor",
        meta: { title: "富文本编辑器" },
        component: () => import("@/views/other/Editor.vue"),
      },
      {
        path: "/error",
        name: "NotFound",
        hidden: true,
        meta: { title: "404" },
        component: () => import("@/components/NotFound.vue"),
      },
      {
        path: "/:w+",
        hidden: true,
        redirect: { name: "NotFound" },
      },
    ],
  },
];

export default otherRouters;
